Optimal. Leaf size=50 \[ -\frac{5}{34 d (5 \tan (c+d x)+3)}+\frac{15 \log (5 \sin (c+d x)+3 \cos (c+d x))}{578 d}-\frac{4 x}{289} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.064283, antiderivative size = 50, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {3483, 3531, 3530} \[ -\frac{5}{34 d (5 \tan (c+d x)+3)}+\frac{15 \log (5 \sin (c+d x)+3 \cos (c+d x))}{578 d}-\frac{4 x}{289} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3483
Rule 3531
Rule 3530
Rubi steps
\begin{align*} \int \frac{1}{(3+5 \tan (c+d x))^2} \, dx &=-\frac{5}{34 d (3+5 \tan (c+d x))}+\frac{1}{34} \int \frac{3-5 \tan (c+d x)}{3+5 \tan (c+d x)} \, dx\\ &=-\frac{4 x}{289}-\frac{5}{34 d (3+5 \tan (c+d x))}+\frac{15}{578} \int \frac{5-3 \tan (c+d x)}{3+5 \tan (c+d x)} \, dx\\ &=-\frac{4 x}{289}+\frac{15 \log (3 \cos (c+d x)+5 \sin (c+d x))}{578 d}-\frac{5}{34 d (3+5 \tan (c+d x))}\\ \end{align*}
Mathematica [C] time = 0.249933, size = 67, normalized size = 1.34 \[ -\frac{\frac{170}{5 \tan (c+d x)+3}+(15-8 i) \log (-\tan (c+d x)+i)+(15+8 i) \log (\tan (c+d x)+i)-30 \log (5 \tan (c+d x)+3)}{1156 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.017, size = 63, normalized size = 1.3 \begin{align*} -{\frac{15\,\ln \left ( 1+ \left ( \tan \left ( dx+c \right ) \right ) ^{2} \right ) }{1156\,d}}-{\frac{4\,\arctan \left ( \tan \left ( dx+c \right ) \right ) }{289\,d}}-{\frac{5}{34\,d \left ( 3+5\,\tan \left ( dx+c \right ) \right ) }}+{\frac{15\,\ln \left ( 3+5\,\tan \left ( dx+c \right ) \right ) }{578\,d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.65626, size = 72, normalized size = 1.44 \begin{align*} -\frac{16 \, d x + 16 \, c + \frac{170}{5 \, \tan \left (d x + c\right ) + 3} + 15 \, \log \left (\tan \left (d x + c\right )^{2} + 1\right ) - 30 \, \log \left (5 \, \tan \left (d x + c\right ) + 3\right )}{1156 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.68205, size = 235, normalized size = 4.7 \begin{align*} -\frac{48 \, d x - 15 \,{\left (5 \, \tan \left (d x + c\right ) + 3\right )} \log \left (\frac{25 \, \tan \left (d x + c\right )^{2} + 30 \, \tan \left (d x + c\right ) + 9}{\tan \left (d x + c\right )^{2} + 1}\right ) + 5 \,{\left (16 \, d x - 15\right )} \tan \left (d x + c\right ) + 125}{1156 \,{\left (5 \, d \tan \left (d x + c\right ) + 3 \, d\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.812839, size = 190, normalized size = 3.8 \begin{align*} \begin{cases} - \frac{80 d x \tan{\left (c + d x \right )}}{5780 d \tan{\left (c + d x \right )} + 3468 d} - \frac{48 d x}{5780 d \tan{\left (c + d x \right )} + 3468 d} + \frac{150 \log{\left (\tan{\left (c + d x \right )} + \frac{3}{5} \right )} \tan{\left (c + d x \right )}}{5780 d \tan{\left (c + d x \right )} + 3468 d} + \frac{90 \log{\left (\tan{\left (c + d x \right )} + \frac{3}{5} \right )}}{5780 d \tan{\left (c + d x \right )} + 3468 d} - \frac{75 \log{\left (\tan ^{2}{\left (c + d x \right )} + 1 \right )} \tan{\left (c + d x \right )}}{5780 d \tan{\left (c + d x \right )} + 3468 d} - \frac{45 \log{\left (\tan ^{2}{\left (c + d x \right )} + 1 \right )}}{5780 d \tan{\left (c + d x \right )} + 3468 d} - \frac{170}{5780 d \tan{\left (c + d x \right )} + 3468 d} & \text{for}\: d \neq 0 \\\frac{x}{\left (5 \tan{\left (c \right )} + 3\right )^{2}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.32015, size = 86, normalized size = 1.72 \begin{align*} -\frac{16 \, d x + 16 \, c + \frac{10 \,{\left (15 \, \tan \left (d x + c\right ) + 26\right )}}{5 \, \tan \left (d x + c\right ) + 3} + 15 \, \log \left (\tan \left (d x + c\right )^{2} + 1\right ) - 30 \, \log \left ({\left | 5 \, \tan \left (d x + c\right ) + 3 \right |}\right )}{1156 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]